<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%
	String path = request.getContextPath();
	String basePath = "/";
%>
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>åºæ¬ä¿¡æ¯</title>
  <style>
    .iframe-basic-info {
      padding: 34px;
    }

    .regis-source {
      padding-bottom: 20px;
      border-bottom: 1px solid #000;
      margin-bottom: 20px;
    }

    .authent-info {
      padding-top: 10px;
      padding-bottom: 10px;
    }
  </style>
</head>

<body>
  <div class="iframe-basic-info">
    <div class="regis-source">
      注册来源：${user.channel }&nbsp;&nbsp;&nbsp;&nbsp;认证状态:<c:if test="${user.state == null || user.state ==''}">未认证</c:if>
      <c:if test="${user.state ==01}">审核中</c:if>
      <c:if test="${user.state ==03}">未通过</c:if>
      <c:if test="${user.state ==02}">已审核</c:if>
    </div>
    <c:if test="${user.state == 02 || user.state == 03}">
	    <div class="authent-info">认证姓名：${user.real_name }</div>
	    <div class="authent-info">性别/认证性别：<c:if test="${user.sex == '00' }">女</c:if><c:if test="${user.sex == '01' }">男</c:if><c:if test="${user.sex == '02' }">保密</c:if>/<c:if test="${user.rsex == '01' }">男</c:if><c:if test="${user.rsex == '00' }">女</c:if> </div>
	    <div class="authent-info">认证地区：${user.city }&nbsp;${user.country}</div>
	    <div class="authent-info">认证年龄：${user.age }</div>
	    <div class="authent-info">认证生日：${user.birthday }</div>
	    <div class="authent-info">身份证号码：${user.id_number }</div>
    </c:if>
    <c:if test="${user.real_name == null || user.real_name =='' || user.state ==01}">
	    <div class="authent-info">认证姓名：未认证</div>
	    <div class="authent-info">性别/认证性别：<c:if test="${user.sex == '00' }">女</c:if><c:if test="${user.sex == '01' }">男</c:if><c:if test="${user.sex == '02' }">保密</c:if>/无</div>
	    <div class="authent-info">认证地区：无</div>
	    <div class="authent-info">认证年龄：无</div>
	    <div class="authent-info">认证生日：无</div>
	    <div class="authent-info">身份证号码：无</div>
    </c:if>
  </div>
</body>

</html>
